runtime.g.waiting (field)
18 uses
runtime (current package)
chan.go#L251: gp.waiting = mysg
chan.go#L267: if mysg != gp.waiting {
chan.go#L270: gp.waiting = nil
chan.go#L572: gp.waiting = mysg
chan.go#L586: if mysg != gp.waiting {
chan.go#L589: gp.waiting = nil
runtime2.go#L490: waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
select.go#L84: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
select.go#L290: if gp.waiting != nil {
select.go#L293: nextp = &gp.waiting
select.go#L343: sglist = gp.waiting
select.go#L345: for sg1 := gp.waiting; sg1 != nil; sg1 = sg1.waitlink {
select.go#L350: gp.waiting = nil
stack.go#L782: for s := gp.waiting; s != nil; s = s.waitlink {
stack.go#L795: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L808: if gp.waiting == nil {
stack.go#L814: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L846: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |